//
//  YSClassificationViewController.m
//  HubayMe1
//
//  Created by apple on 16/12/16.
//  Copyright © 2016年 Global Barter. All rights reserved.
//

#import "YSClassificationViewController.h"
#import "YSFirstViewController.h"
#import "YSSecondViewController.h"
#import "YSThirdViewController.h"


@interface YSClassificationViewController ()
@end

@implementation YSClassificationViewController

- (void)viewDidLoad {
    [super viewDidLoad];
    self.title = @"分类";
    
    [self setUpAllChildViewController];
    
}

-(void)setUpAllChildViewController{
    
    YSFirstViewController *allVC = [[YSFirstViewController alloc]init];
    allVC.title = @"市场采买";
    [self addChildViewController:allVC];
    
    YSSecondViewController *noPayVC = [[YSSecondViewController alloc]init];
    noPayVC.title = @"生活消费";
    [self addChildViewController:noPayVC];
    
    YSThirdViewController *daiShouVC = [[YSThirdViewController alloc]init];
    daiShouVC.title = @"服务兑换";
    [self addChildViewController:daiShouVC];
    
}



@end
